﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NextCMS.Models
{
    public class SiteModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public bool SystemDefined { get; set; }
    }
    public interface ISite : IDisposable
    {
        IEnumerable<SiteModel> GetAll();
        SiteModel GetById(int Id);
        SiteModel GetByName(string SiteName);
        int Save(SiteModel page);
        void Delete(int id);
        void Edit(SiteModel page);
    }
}
